﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMODELS
{
    public interface IManagePay
    {
        /// <summary>
        /// 添加支付方式
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool AddPay(MODEL.MPar model);
        /// <summary>
        /// 修改支付方式
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool UpdatePay(MODEL.MPar model);
        /// <summary>
        /// 删除支付方式
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         bool DelPay(string id);
        /// <summary>
        /// 列表分页查询支付信息
        /// </summary>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="fiter"></param>
        /// <returns></returns>
         string AllPay(string start, string limit, string fiter);
        /// <summary>
        /// 获取单条支付方式
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         string GetPayById(string id);
    }
}
